package com.amado.course03;
/**
 * 变量及变量的作用域
 * 数据类型    变量名  =  初始化值
 * @author Administrator
 *
 */
public class FinalString {
	//静态变量/类变量
	public static String tel="186";
	//成员变量/全局变量
	//实例变量
	public String userName="amado";
	public static void main(String[] args) {
		//局部变量
		String address = "深圳市";
		final int age = 18;
		final String sex = "男";
		String name = "张三";
		int myAge = 23;
		name = "李四";

		System.out.println(address);

		System.out.println(address);
		
		FinalString finalStrOne = new FinalString();
		finalStrOne.userName="176";
		FinalString.tel="188";
	}

}
